package com.ruoyi.city.domain;

import com.ruoyi.common.core.annotation.Excels;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 城市信息对象 house_city
 * 
 * @author ruoyi
 * @date 2025-09-10
 */
@Data
public class HouseCity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 城市ID */
    private Integer cityId;

    /** 城市名称 */
    @Excel(name = "城市名称")
    private String cityName;

    /** 所属省份ID */
    @Excel(name = "所属省份ID")
    private Integer provinceId;
    @Excel(name = "所属省份")
    private String provinceName;
    @Excel(name = "所属区县")
    private String districtName;

    /** 城市状态 */
    @Excel(name = "城市状态")
    private Integer status;

    public void setCityId(Integer cityId) 
    {
        this.cityId = cityId;
    }

    public Integer getCityId() 
    {
        return cityId;
    }

    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }

    public void setProvinceId(Integer provinceId) 
    {
        this.provinceId = provinceId;
    }

    public Integer getProvinceId() 
    {
        return provinceId;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cityId", getCityId())
            .append("cityName", getCityName())
            .append("provinceId", getProvinceId())
            .append("status", getStatus())
            .toString();
    }
}
